package com.kin207.netty.message.mqtt.Enum;

public enum ClientDataEnum {
	 ping("680301FFFFFFFF", "PING"),
	 unlock("680301FFFFFFFF", "OPEN"), 
	 status("680301FFFFFFFF","STATUS");  
    // 成员变量  
    private String name;  
    private String data;  
    // 构造方法  
    private ClientDataEnum(String data, String name) {  
        this.name = name;  
        this.data = data;  
    } 
    
    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	//覆盖方法  
    @Override  
    public String toString() {  
        return this.data+"_"+this.name;  
    }  
}
